for i in range(1, 11):
    if i == 6:
        # 跳过循环
        continue
    print(i)

    if i == 7:
        # 中断循环
        break
